/*
 * Directory_test.cc
 *
 *  Created on: 28 mrt. 2011
 *      Author: vincentvanandel
 

#include "Inode.h"
#include <limits.h>
#include "Directory.h"
#include <gtest/gtest.h>

namespace {
// The fixture for testing class Foo.
class DirectoryTest : public ::testing::Test {

protected:
	Inode* in;
	Directory* dir;
  // You can remove any or all of the following functions if its body
  // is empty.

	virtual void SetUp() {
		Inode* in = new Inode();
		 dir = new Directory(in);
	}

  virtual void TearDown() {
	  delete in;
	  delete dir;
  }

  // If the constructor and destructor are not enough for setting up
  // and cleaning up each test, you can define the following methods:

  // Objects declared here can be used by all tests in the test case for Foo.
};

// Tests that the Foo::Bar() method does Abc.
TEST_F( DirectoryTest, MockTestName ) {
	EXPECT_EQ( "abc", dir->getName() );
}

TEST_F( DirectoryTest, MockTestSize ) {
	EXPECT_EQ( 1074253350, dir->getSize() );
}

TEST_F( DirectoryTest, MockTestMode ) {
	EXPECT_EQ( "drwxrwxrwx", dir->getMode() );
}

}

int main(int argc, char **argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}
*/
